// random index
// (c) Yongjin Park, 2013
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int_distribution.hpp>

#ifndef RANDOM_HH_
#define RANDOM_HH_

////////////////////////////////////////////////////////////////
// random index
struct
random_index_t
{
  explicit random_index_t(int K);
  ~random_index_t();

  int operator () () const;
  int operator () (int K) const;

  boost::random::mt19937* RandGen;
  int kmax;
};

#endif
